<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>王中晖 vs 王亮 点击计数器</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <h1>点击计数器</h1>
        <div class="scoreboard">
            <div class="player" id="player1">
                <h2>王中晖</h2>
                <div class="count" id="count1">0</div>
                <button class="click-btn" onclick="incrementCount(1)">蛆</button>
            </div>
            
            <div class="vs">VS</div>
            
            <div class="player" id="player2">
                <h2>王亮</h2>
                <div class="count" id="count2">0</div>
                <button class="click-btn" onclick="incrementCount(2)">蛆</button>
            </div>
        </div>
        
        <div class="reset-container">
            <button class="reset-btn" onclick="resetCounts()">重置计数器</button>
        </div>
    </div>

    <script src="script.js"></script>
</body>
</html>